package projetstackoverflow



import grails.test.mixin.*
import org.junit.*

/**
 * See the API for {@link grails.test.mixin.domain.DomainClassUnitTestMixin} for usage instructions
 */
@TestFor(Author)
class AuthorTests {

    void testSomething() {
       Author aut = new Author()
	   aut.save()
	   assertEquals(Author.count, 1)
	   aut.delete()
	   assertEquals(Author.count, 0)
    }
}
